Community Group Server Controls

CommunityGroupProfile Server Control

CommunityGroupBrowser Server Control

CommunityGroupMembers Server Control

CommunityGroupList Server Control

CommunityGroupProfile Server Control

The CommunityGroupProfile server control displays the profile of a community group. The profile includes:

an image associated with the group

a description of the group

tags assigned to the group

whether the group is Public or Restricted

the date the group was founded

location information

members in the group

the group’s administrator

an Edit link that lets you update profile information and group settings

You can see an example of the CommunityGroupProfile Server Control in the Ektron Tech site > Community > Community Groups > select any group.

URL Aliases for Community Groups

To automatically create a friendly URL for a UserProfile, you can use Community Aliasing for Users. Community URL Aliasingfor more information.

CommunityGroupProfile Server Control Properties

The CommunityGroupProfile server control properties are described in this table.

Note: The following table only lists Ektron-specific properties. It does not describe native .NET properties such as font, height, width and border style. For documentation of these properties, see Visual Studio help.

Property

Description

Data Type

Authenticated

Indicates if you are logged in to the CMS Explorer and can use it to browse to Content, Collections, etc. See Also: Using CMS Explorer to Browse Your Ektron CMS400.NET Site

String

DefaultGroupID

The default community group ID for this control to use when there is no matching dynamic parameter value passed.

Long

DisplayXslt

Determines how information is displayed on the page. Enter the path to the XSL file. It can be relative or absolute.

Warning! If you specify an external file, it is strongly recommended that you do not store this file in your site's Workarea folder. If you store this file in the Workarea folder, the file will be lost when you upgrade.

Warning! If you enter a valid EkML file at the MarkupLanguage property, the DisplayXslt property value is ignored.

String

 

DoInitFill

By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, FIll is automatically called during the Page Render event.

You might do this if you need to set or change a property on the control in codebehind and have it render with your changes shown.

Boolean

DynamicParameter

Gets or sets the QueryString parameter to read a community group ID dynamically. To use the default community group ID, leave blank.

String

GroupAdminLink

Add a link to the administrator’s profile page. This allows a user to click a link in the profile area of the community group page and be directed to the administrator’s profile page. Two variables in the link identify the administrator.

{0} - represents the administrator’s ID

{1} - represents the administrator’s name

Both variables must be in the link. The Web form can be relative or absolute. Below is an example.

adminprofilepage.aspx?aid={0}&an={1}

String

GroupAdminLinkTarget

Determines the type of window that appears on this Web form when a user clicks the Admin’s display name link. The default is _self.

_Self - opens in same window

_Top - opens in parent window

_Blank - opens in new window

_Parent - opens in the parent frame

ItemLinkTargets

Hide

Used to hide output of the control in design time and run time.

True = Hide control

False = Display control

Boolean

Language

Set a language for viewing the CommunityGroupProfile control. This property shows results in design-time (in Visual Studio) and at run-time (in a browser).

Integer

Stylesheet

Specify the path to a style sheet for use with the server control. The location can be relative or absolute. Leave blank to use the default style sheet.

Warning! If you enter a valid EkML file at the MarkupLanguage property, the Stylesheet property is ignored.

String

SuppressWrapperTags

Suppresses the output of the span/div tags around the control. The default is False.

True - Suppress wrap tags.

False - Allow wrap tags.

Boolean

TagTemplate

Add a path to another Web form to create links for the tag text. This path can be relative or absolute. By providing the path to CommunitySearch server control, a user viewing the profile can click a tag and search for other groups with the same tag.

Five parameters, which are automatically added to the link’s QueryString, let you pass information about the tag.

searchgrptag - the tag’s text for community groups

TagId - the tag’s ID

TagLanguage - the tag’s language

TagCount - the tag’s count. That is, the number of times a tag has been used.

TagType - the tag’s type: 

- user

- community group

You can also add your own parameters by defining them in the path. If you do, these parameters will be appended to yours.

Linking Tag Cloud ItemsLinking Tag Cloud Items

String

TagTemplateTarget

Determines the type of window that appears on this Web form when a user clicks an item in the dynamic content box. The default is _self.

_Self - opens in same window

_Top - opens in parent window

_Blank - opens in new window

_Parent - opens in the parent frame

ItemLinkTargets

WrapTag

Allows a developer to specify a server control’s tag. The default is Span.

Span - The <span> tag is used to designate an inline portion of an HTML document as a span element.

Div - The <div> tag is used when you want to apply attributes to a block of code.

Custom - Allows you to use a custom tag.

String

Previous TopicNext Topic|